package com.bingxue.edu.management.shop.model.query;

import com.bingxue.edu.common.enums.CommonStatusEnum;
import com.bingxue.edu.framework.mybatis.query.Query;
import com.bingxue.edu.framework.mybatis.query.QueryType;
import com.bingxue.edu.management.shop.model.entity.FinAccount;
import com.mybatisflex.annotation.TableRef;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 财务账户查询条件
 */
@Data
@TableRef(FinAccount.class)
@Schema(description = "财务帐户啊查询条件")
public class FinAccountQuery {

    @Schema(description = "账户名称")
    @Query(type = QueryType.LIKE)
    private String name;

    @Schema(description = "账户")
    private String account;

    @Schema(description = "状态")
    private CommonStatusEnum status;
}
